<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script src="static/js/base.js"></script>
<script src="static/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
function ajax(){
	var param = {"userId":"1", "username":"1", "password":"2","nowDate":"2013-08-12 18:10:23"};
	//异步提交json字符串
 	BASE.ajaxSend("jsonToObject",param,"json", function(data){
		alert("username:"+data.username+""+data.nowDate);
	}); 
}
</script>
</head>
<body><input type="button" onClick="ajax();" value="异步提交" />
<form action="jsonToObjectForPage" method="post">
	userId<input type="text" name="userId" value="0"  />
		用户名：<input type="text" name="username" value="demo"  />
		密码：<input type="text" name="password" value="demo"  />
		创建日期：<input type="text" name="nowDate" value="2013-08-12 18:10:23"  />
		<input type="submit" value="提交" />
		</form>
</body>
</html>